package com.delivery.deliverysystem.pojo.DO;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author Bernie_xin
 * @create 2021/1/21 20:20
 **/
@Data
@ApiModel("权限类")
public class SysAuthority {

    @TableId(type = IdType.UUID)
    @ApiModelProperty("id")
    private String id;
    @ApiModelProperty("权限角色")
    private String authorityRole;
    @ApiModelProperty("创建时间")
    @TableField(fill = FieldFill.INSERT)//在插入的时候自动填充
    private Date createTime;
    @ApiModelProperty("最后更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)////在插入和更新的时候自动填充
    private Date modifiedTime;
    @ApiModelProperty("逻辑删除")
    @TableLogic
    private Integer deleted;

}
